Importing Steps to a VoiceForm

The Import Steps function in the user interface enables you to import steps from a VoiceForm for the system.

Use the Export Steps feature to create a json file containing steps that can be imported.

Import Steps

  1. On the VoiceForm Editor tab, select the VoiceForm from the drop-down menu in the navigation pane.
  2. Click the Import step(s) in the navigation link.
  3. To import steps, click Import step(s) and navigate to the location where the steps .json file is located. Alternatively, drag and drop the .json file into the upload section.

Validations for Import Step(s):

  1. If step ID already exists in the VoiceCheck server, then the step is not imported.
  2. If the step.json file includes multiple steps (with few stesp existing in the server and remaining being new steps), only the new stesp are imported, and a notification message indicating that the existing steps were not imported into the server is displayed.
  3. The step is not imported if the .json file doesn't have the mandatory fields, like description, prompt and prompt type.

It is assumed that fields for the Steps is same across VoiceCheck servers used by the customer.

Validations:

  1. Prompt Templates: If a Prompt template with the same name exists, then reject the import of the prompt template. Else, import the prompt template included in the steps.json file. Prompt Template should be added on the Prompt Templates page.
  2. Conditions: If a condition with the same name exists with a different condition value, create a duplicate condition with same name. However, if the condition value also matches with the existing condition, then reject the condition and use the existing condition. If the condition with the same name exists with different condition value, then reject the condition and use the existing condition.
  3. Images: Import the step with the details of the image location. Image will not be imported along with the step. If the image does not exist at the specified location, then a broken image is displayed on the server.
  4. Translations: Import translations for step description and step prompt in all the supported languages.
  5. ListItems: If a ListItem with the same name exists, then reject the import of list item. Else, import the list item included in the steps.json file. ListItem should be added on the ListItems page.